package com.imooc.entity.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class CommentBo {
    @NotBlank(message = "视频id不能为空")
    private String vlogerId;
    @NotBlank(message = "评论id不能为空")
    private String fatherCommentId;
    @NotBlank(message = "视频id不能为空")
    private String vlogId;
    @NotBlank(message = "用户id不能为空")
    private String commentUserId;
    @NotBlank(message = "评论内容不能为空")
    private String content;
}
